<?php
/**
 * @file $HeadURL: forum.php $
 * @author $Author: DongJC (dongjianchang@haibao.com) $
 * @date $Date: 2015-4-16 ����7:37:22 $
 * @brief 
 */
namespace haibao\www\business;
use \haibao\www\data\Forum as ForumData; 
class Forum  extends \haibao\www\business\Base{
		
	public static function addSign($data){
		if(!$data['userId']){
			
		}
		if(!$data['credit']){
				
		}
		$forumData = new ForumData();
		$forumData->addSign($data);
	}
	
	public static function isSign($data){
		$forumData = new ForumData();
		return $forumData->isSign($data,0);
	}
	
	public static function getWeekSign($userId){	
		if(!$userId){
			
		}
		$forumData = new ForumData();
		return $forumData->getWeekSign($userId);
	}
}